package dingcan;
public class Menu {
    private int number;
    private String dishName;
    private double price;
    private int like;
    public Menu(){
    }
    //有参的构造方法
    public Menu(int number, String dishName, double price, int like) {
        this.number = number;
        this.dishName = dishName;
        this.price = price;
        this.like = like;
    }
    public int getLike() {
        return like;
    }
    public void setLike(int like) {
        this.like = like;
    }
    public int getNumber() {
        return number;
    }
    public void setNumber(int number) {
        this.number = number;
    }
    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}

